<?php
// +----------------------------------------------------------------------
// | Author: yaoyihong <510974211@qq.com>
// +----------------------------------------------------------------------

namespace app\api\model;

class PostsLog extends ApiBase
{

    protected $auto = ['datetime','status'=>1];

    protected function setDatetimeAttr($value)
    {
        return time();
    }

}